﻿<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<title>@ViewBag.Title</title>
	<link rel="stylesheet" type="text/css" href="~/Content/jquery-easyui-1.4.5/themes/default/easyui.css" />
	<link rel="stylesheet" type="text/css" href="~/Content/jquery-easyui-1.4.5/themes/icon.css" />
	@Styles.Render("~/Content/css")
	@Styles.Render("~/Content/stylecss")
	@Scripts.Render("~/bundles/modernizr")
	@Scripts.Render("~/bundles/jquery")
	<script type="text/javascript" charset="utf-8" src="~/Scripts/jquery-easyui-1.4.5/jquery.easyui.min.js"></script>
	<script type="text/javascript" charset="utf-8" src="~/Scripts/jquery-easyui-1.4.5/locale/@ViewBag.EasyUiLanguage"></script>
	@Scripts.Render("~/bundles/common")
	<script type="text/javascript" charset="utf-8" src="~/Scripts/common.js"></script>
	<script type="text/javascript" charset="utf-8" src="~/Scripts/layer/layer.js"></script>
	<script type="text/javascript" charset="utf-8" src="~/Scripts/ckeditor/ckeditor.js"></script>
	<script type="text/javascript" charset="utf-8" src="~/Scripts/ckeditor/samples/js/sample.js"></script>
	<script type="text/javascript" charset="utf-8" src="~/Scripts/ckfinder/ckfinder.js"></script>
	<script type="text/javascript" charset="utf-8" src="~/Scripts/jquery-easyui-1.4.5/myjs.dialog.js"></script>  
	<link rel="stylesheet" type="text/css" href="~/Scripts/ckeditor/samples/css/samples.css" />
	<link rel="stylesheet" type="text/css" href="~/Content/Site.css" />
	<link rel="stylesheet" type="text/css" href="~/Content/Style.css" />
	<script type="text/javascript">
		$(function () {
			var language = "@Request.Cookies["_culture"].Value";
			if (language == "@ConstValues.Language.Cn") {
				$("#mlogo").append('<img id="logo" src="../Images/homeImg/logo.jpg" />')
			}
			else {
				$("#mlogo").append('<img id="logo" src="../Images/homeImg/enlogo.jpg" />')
			}
		});
	</script>
</head>
<body id="index">
	<div class="mar" style="position:relative;z-index:999">
		<div class="index">
			<!-- header start -->
			<div class="header">
				<a href="@Url.Action(nameof(HomeController.Index),nameof(HomeController).GetControllerName())" class="logo" id="mlogo"></a>
				<div class="menuForMain fr">
					<ul>
						<li>
							<a class="hide" href="@Url.Action(nameof(ProfileEditController.Index) , nameof(ProfileEditController).GetControllerName())"><h3>@Resources.Menu_UserCenter</h3></a>
							<ul>
								<li><a href="@Url.Action(nameof(ProfileEditController.Index) , nameof(ProfileEditController).GetControllerName())">@Resources.Menu_MyProfile</a></li>
								<li><a href="@Url.Action(nameof(ProfileAttendenceInfoController.Index) , nameof(ProfileAttendenceInfoController).GetControllerName())">@Resources.Menu_Registration</a></li>
								<li><a href="@Url.Action(nameof(ProfileContributeInfoController.Index) , nameof(ProfileContributeInfoController).GetControllerName())">@Resources.Menu_Submission</a></li>
								<li><a href="@Url.Action(nameof(ProfileHotelController.Index) , nameof(ProfileHotelController).GetControllerName())">@Resources.Menu_Hotel</a></li>
								<li><a href="@Url.Action(nameof(ProfileTrafficController.Index) , nameof(ProfileTrafficController).GetControllerName())">@Resources.Menu_Transport</a></li>
								@*<li><a href="@Url.Action(nameof(ProfileConferenceAttendPayController.Index) , nameof(ProfileConferenceAttendPayController).GetControllerName())">@Resources.PayConferenceFee</a></li>
								<li><a href="@Url.Action(nameof(ProfilePaymentController.Index) , nameof(ProfilePaymentController).GetControllerName())">@Resources.CheckPaymentRecord</a></li>
								<li><a href="@Url.Action(nameof(ProfileVisaController.Index) , nameof(ProfileVisaController).GetControllerName())">@Resources.CheckVisaInfo</a></li>
								<li><a href="@Url.Action(nameof(ProfileQuizController.Index) , nameof(ProfileQuizController).GetControllerName())">@Resources.CheckQuizInfo</a></li>
								<li><a href="@Url.Action(nameof(ProfileInvoiceController.Index) , nameof(ProfileInvoiceController).GetControllerName())">@Resources.InvoiceManage</a></li>*@
							</ul>
						</li>
						<li>
							<a href="@Url.Action(nameof(MeetingListController.Index), nameof(MeetingListController).GetControllerName())"><h3>@Resources.MeetingList</h3></a>
							<ul>
								<li>
									<a href="@Url.Action(nameof(MeetingApplyController.Index), nameof(MeetingApplyController).GetControllerName())">@Resources.MeetingApply</a>
								</li>
							</ul>
						</li>
						@if ((User as ICISPrincipal).IsSSA || (User as ICISPrincipal).IsCA)
						{
						<li><a href="@Url.Action(nameof(ConferenceHomeController.Index), nameof(ConferenceHomeController).GetControllerName())"><h3>@Resources.Menu_ConferenceManage</h3></a></li>
						}
						@if ((User as ICISPrincipal).IsSSA || (User as ICISPrincipal).IsSA)
						{
						<li><a href="@Url.Action(nameof(SysConferenceMasterController.Index), nameof(SysConferenceMasterController).GetControllerName())"><h3>@Resources.Menu_SystemManage</h3></a></li>
						}
					</ul>
				</div>
				<div class="t">
					<div class="fl"><img src="~/Images/icon_01.png" align="absmiddle" />&nbsp;&nbsp;@Resources.Welcome@((User as ICISPrincipal).UserName)</div>
					<div class="fl">
						@using (Html.BeginForm(nameof(UtilityController.SetCulture),
							    nameof(UtilityController).GetControllerName(),
							    FormMethod.Post, new { id = "frmCulture" }))
						{
							<input type="hidden" id="hidCulture" name="culture" />
						}
					</div>
					<div class="fl">
						@using (Html.BeginForm(nameof(AccountController.LogOff),
							nameof(AccountController).GetControllerName(),
							FormMethod.Post, new { id = "frmLogoff" }))
						{
							@Html.AntiForgeryToken();
							<a href="javascript:$('#frmLogoff').submit();" class="qt">@Resources.Exit</a>
						}
					</div>
				</div>
				<div class="clear"></div>
			</div>
			<!-- header end -->
			<!-- container start -->
			<div class="container">
				<div class="rbox fl" style="width:1200px">
            				<div id="right">
						<div class="con">
							@RenderBody()
						</div>
					</div>
				 </div>
			</div>
			<!-- container end -->
		</div>
	</div>
	<!-- 顶部 -->
	@RenderSection("bodyParts", required: false)
	@RenderSection("scripts", required: false)
	<div class="fixedMessageContainer">
		<div class="fixedMessage fixedErrorMessage">
			<h2>Error!</h2>
			<p id="fixedErrorMessageContent"></p>
		</div>
		<div class="fixedMessage fixedSuccessMessage">
			<h2>Success!</h2>
			<p id="fixedSuccessMessageContent"></p>
		</div>
	</div>
	<div id="dialogMsg"></div>
</body>
</html>
